home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / m / sqrt.man < prev   
Encoding:
Text File  |  1989-04-28  |  1.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. SQRT             Mathematical Library Procedures             SQRT
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      cbrt, sqrt - cube root, square root
  10.  
  11. SSYYNNOOPPSSIISS
  12.      ##iinncclluuddee <<mmaatthh..hh>>
  13.  
  14.      ddoouubbllee ccbbrrtt((xx))
  15.      ddoouubbllee xx;;
  16.  
  17.      ddoouubbllee ssqqrrtt((xx))
  18.      ddoouubbllee xx;;
  19.  
  20. DDEESSCCRRIIPPTTIIOONN
  21.      Cbrt(x) returns the cube root of x.
  22.  
  23.      Sqrt(x) returns the square root of x.
  24.  
  25. DDIIAAGGNNOOSSTTIICCSS
  26.      On a VAX, sqrt(negative) returns the reserved operand and
  27.      sets _e_r_r_n_o to EDOM .
  28.  
  29. EERRRROORR ((dduuee ttoo RRoouunnddooffff eettcc..))
  30.      Cbrt is accurate to within 0.7 _u_l_ps.
  31.      Sqrt on a VAX is accurate to within 0.501 _u_l_ps.
  32.      Sqrt on a machine that conforms to IEEE 754 is correctly
  33.      rounded in accordance with the rounding mode in force; the
  34.      error is less than half an _u_l_p in the default mode
  35.      (round-to-nearest).  An _u_l_p is one _Unit in the _Last _Place
  36.      carried.
  37.  
  38. SSEEEE AALLSSOO
  39.      math(3M), infnan(3M)
  40.  
  41. AAUUTTHHOORR
  42.      W. Kahan
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0               May 12, 1986                          1
  64.  
  65.  
  66.  
  67.